package com.car.mapper;


import com.car.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    List<SysUser> list(@Param("sysUser") SysUser sysUser,
                       @Param("startIndex") Integer startIndex,
                       @Param("pageSize") Integer pageSize);
    Integer selectSysUserCount(@Param("sysUser") SysUser sysUser);

    Integer add(SysUser sysUser);

    int delete(Integer user_id);

    int update(SysUser sysUser);

    SysUser getByid(Integer user_id);
}
